<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="./invite.css">
    <link rel="stylesheet" href="/css//public.css">
    <title>邀请朋友</title>
</head>

<body>

</body>

<script src="/js/jquery.js"></script>
<script src="/js/public.js"></script>
<script src="/js/dream-msg.min.js"></script>
<script src="/js/clipboard.min.js"></script>
<script type="module">

    productheader('body', 3)
    import { createInviteWrap } from './invite.js'

    createInviteWrap();
    let succuessok = new ClipboardJS('.invite-copy');

    succuessok.on('success', function (e) {

        Dreamer.info('复制成功', 2000)
        e.clearSelection();

    })

    succuessok.on('error', function (e) {

        Dreamer.warning('复制失败', 2000)
    })


</script>
<script>

</script>

</html>
<style>

</style>